//package com.yinxianren.main.study.httpTest;
//
//import com.rxh.pojo.cross.BankResult;
//import com.rxh.utils.CheckMd5Utils;
//import com.rxh.utils.HttpClientUtils;
//import com.rxh.utils.JsonUtils;
//import org.junit.Test;
//
//import java.io.UnsupportedEncodingException;
//import java.net.URLEncoder;
//import java.util.Base64;
//import java.util.Map;
//import java.util.TreeMap;
//
//public class PostTest {
//
//
//    @Test
//    public void addCus(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("merchantType","00");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("userShortName","燕小七");
//            map.put("identityType","1");
//            map.put("identityNum","510522199906062031");
//            map.put("phone","13195635647");
//            map.put("province","350000");
//            map.put("city","350200");
//            map.put("address","厦门湖里");
//            map.put("bankCode","123");
//            map.put("bankCardType","0");
//            map.put("cardHolderName","燕小七");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCardPhone","13195635647");
//            map.put("payFee","10");
//            map.put("validDate","202011");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/addCusInfo", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void bankCardBind(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("bankaccProp","0");
//            map.put("identityType","1");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardType","0");
//            map.put("cardHolderName","燕小七");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCardPhone","13195635647");
//            map.put("province","350000");
//            map.put("city","350200");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/bankCardBind", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void serviceFul(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/serviceFulfillment", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void BondCard(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("userName","燕小七");
//            map.put("identityType","1");
//            map.put("bankCardType","0");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCardPhone","13195635647");
//            map.put("bankCode","123");
//            map.put("validDate","202011");
//            map.put("securityCode","123");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("returnUrl","http://...");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/bondCard", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void confirmBond(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("identityType","1");
//            map.put("bankCardType","0");
//            map.put("userName","燕小七");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCode","123");
//            map.put("bankCardPhone","13195635647");
//            map.put("validDate","202011");
//            map.put("securityCode","123");
//            map.put("payFee","10");
//            map.put("backFee","5");
//            map.put("backCardNum","6227001935600388046");
//            map.put("backBankCode","5");
//            map.put("backCardPhone","13195635647");
//            map.put("smsCode","111111");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("returnUrl","http://...");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/confirmBond", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void BondCardSms(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("userName","燕小七");
//            map.put("identityType","1");
//            map.put("bankCardType","0");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCardPhone","13195635647");
//            map.put("bankCode","123");
//            map.put("validDate","202011");
//            map.put("securityCode","123");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("returnUrl","http://...");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/reGetBondCode", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void payApply(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("bizType","5");
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("currency","CNY");
//            map.put("amount","50");
//            map.put("identityType","1");
//            map.put("bankCardType","0");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCode","123");
//            map.put("validDate","202211");
//            map.put("securityCode","123");
//            map.put("bankCardPhone","13195635647");
//            map.put("payFee","10");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("returnUrl","http://...");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/pay/payApply", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void confirmPay(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("bizType","5");
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("smsCode","111111");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("payFee","10");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
//
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/pay/confirmPay", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void confirmPaySms(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("bizType","5");
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
//
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://pay.zrtcnet.com/kuaijie/pay/confirmSMS", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//    @Test
//    public void daifu(){
//        try {
//            Map<String, Object> map = new TreeMap<>();
//            map.put("bizType","5");
//            map.put("charset","utf-8");
//            map.put("signType","MD5");
//            map.put("merId","M201002");
//            map.put("merOrderId","20190628099900001");
//            map.put("originalMerOrderId","20190628099900001");
//            map.put("currency","CNY");
//            map.put("amount","10");
//            map.put("identityType","1");
//            map.put("bankCardType","0");
//            map.put("identityNum","510522199906062031");
//            map.put("bankCardNum","6227001935600388046");
//            map.put("bankCardPhone","13195635647");
//            map.put("bankCode","123");
//            map.put("backFee","8");
//            map.put("terminalMerId","M201002-009");
//            map.put("terminalMerName","燕小七");
//            map.put("returnUrl","http://...");
//            map.put("noticeUrl","http://...");
//            map.put("signMsg", CheckMd5Utils.getMd5SignWithKey(map,"5Y1837F5"));
//            String tradeInfo = JsonUtils.objectToJson(map);
//
////            System.out.println(tradeInfo);
//            tradeInfo= URLEncoder.encode(tradeInfo,"UTF-8");
//            String postJson= new String( Base64.getEncoder().encode(tradeInfo.getBytes()),"UTF-8");
//            String content = HttpClientUtils.doPostJson(HttpClientUtils.getHttpsClient(), "http://inward.zrtcnet.com/kuaijie/getTransOrder", postJson);
//            System.out.println(content);
//
////            System.out.println(postJson);
//
//        } catch (UnsupportedEncodingException e) {
//            e.printStackTrace();
//        }}
//
//
//    public static void main(String[] args) {
//        String a="{\"status\":0,\"orderId\":null,\"merchantOrderId\":null,\"bankOrderId\":null,\"orderChangeId\":null,\"bankRefundId\":null,\"bankTime\":\"2019-06-27 20:34:00\",\"bankResult\":\"付款成功\",\"bankCode\":null,\"param\":\"{\\\"acctno\\\":\\\"622700****7025\\\",\\\"actualamount\\\":\\\"200\\\",\\\"amount\\\":\\\"1000\\\",\\\"appid\\\":\\\"6666678\\\",\\\"errmsg\\\":\\\"处理成功\\\",\\\"fee\\\":\\\"800\\\",\\\"fintime\\\":\\\"20190627203358\\\",\\\"orderid\\\":\\\"1906272033560130002\\\",\\\"retcode\\\":\\\"SUCCESS\\\",\\\"retmsg\\\":\\\"处理成功\\\",\\\"sign\\\":\\\"86CB803240FCA149ED2FC50ABDE57AEC\\\",\\\"trxid\\\":\\\"19060000001339\\\",\\\"trxstatus\\\":\\\"0000\\\"}\",\"systemRef\":null,\"bankData\":null,\"result\":null,\"trade\":{\"channelInfo\":{\"channelId\":\"CH101002\",\"organizationId\":\"ORG1001\",\"channelName\":\"通联代付2\",\"channelLevel\":1,\"type\":4,\"channelTransCode\":\"2\",\"payUrl\":\"http://boc.zrtcnet.com/cross/allinPay/payMoney\",\"others\":\"{\\n  \\\"appid\\\": \\\"6666678\\\",\\n  \\\"key\\\": \\\"549935538f05ceaef400cbdb2dda4ebf\\\",\\n  \\\"cusid\\\": \\\"101000003650\\\",\\n  \\\"orgid\\\": \\\"201000003530\\\",\\n  \\\"payApplyUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/qpay/applypay\\\",\\n  \\\"payConfirmUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/qpay/confirmpay\\\",\\n  \\\"oneTransUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/acct/pay\\\",\\n  \\\"notifyurl\\\": \\\"www.baidu.com\\\",\\\"trxcode\\\":\\\"QUICKPAY_OF_HP\\\"\\n}\",\"channelSingleFee\":1.00,\"channelRateFee\":0.00,\"settleCycle\":\"1\",\"singleMinAmount\":1.00,\"singleMaxAmount\":6000.00,\"dayQuotaAmount\":10000.00,\"monthQuotaAmount\":500000.00,\"outChannelId\":null,\"status\":0,\"createTime\":1561564800000},\"payOrderChannel\":{\"channelId\":\"CH101001\",\"organizationId\":\"ORG1001\",\"channelName\":\"通联快捷支付1\",\"channelLevel\":1,\"type\":5,\"channelTransCode\":\"1\",\"payUrl\":\"http://boc.zrtcnet.com/cross/allinPay/pay\",\"others\":\"{ \\\"appid\\\": \\\"6666678\\\",\\n  \\\"key\\\": \\\"549935538f05ceaef400cbdb2dda4ebf\\\",\\n  \\\"orgid\\\": \\\"201000003530\\\",\\n  \\\"cusid\\\": \\\"101000003671\\\",\\n  \\\"payApplyUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/qpay/applypay\\\",\\n  \\\"payConfirmUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/qpay/confirmpay\\\",\\n  \\\"oneTransUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/acct/pay\\\",\\n  \\\"paySms\\\": \\\"https://test.allinpaygd.com/ipayapiweb/qpay/paysms\\\",\\n    \\\"notifyurl\\\": \\\"www.baidu.com\\\",\\\"trxcode\\\":\\\"QUICKPAY_OF_HP\\\"}\",\"channelSingleFee\":0.00,\"channelRateFee\":2.00,\"settleCycle\":\"1\",\"singleMinAmount\":1.00,\"singleMaxAmount\":5000.00,\"dayQuotaAmount\":50000.00,\"monthQuotaAmount\":10000000.00,\"outChannelId\":\"CH101002\",\"status\":0,\"createTime\":1561564800000},\"transOrder\":{\"transId\":\"1906272033560130002\",\"merId\":\"M201002\",\"merOrderId\":\"2019062719300007\",\"originalMerOrderId\":null,\"organizationId\":\"CH101002\",\"channelId\":\"CH101002\",\"payType\":\"4\",\"channelTransCode\":\"2\",\"currency\":\"CNY\",\"amount\":10,\"realAmount\":2.00,\"terminalFee\":8.00,\"fee\":2.000,\"channelFee\":1.000,\"agentFee\":0.20,\"income\":1.000,\"orderStatus\":2,\"settleStatus\":0,\"tradeTime\":1561638836286,\"terminalMerId\":\"M201002-009\",\"terminalMerName\":\"燕小七\",\"bankTime\":null,\"orgOrderId\":null,\"tradeResult\":null,\"agmentId\":\"A301001\"},\"payOrder\":{\"payId\":\"1906271944160130007\",\"merId\":\"M201002\",\"merOrderId\":\"20190628099900001\",\"organizationId\":\"ORG1001\",\"channelId\":\"CH101001\",\"payType\":\"5\",\"channelTransCode\":\"1\",\"currency\":\"CNY\",\"amount\":50.00,\"realAmount\":50.00,\"terminalFee\":5.00,\"fee\":2.50,\"channelFee\":1.00,\"agentFee\":0.50,\"income\":1.50,\"settleCycle\":null,\"orderStatus\":0,\"settleStatus\":0,\"tradeTime\":1561635857000,\"bankTime\":1561635871000,\"orgOrderId\":\"19060000001327\",\"tradeResult\":\"{\\\"appid\\\":\\\"6666678\\\",\\\"fintime\\\":\\\"20190627194431\\\",\\\"retcode\\\":\\\"SUCCESS\\\",\\\"retmsg\\\":\\\"处理成功\\\",\\\"sign\\\":\\\"2413C2EB4BEF1BE78C8AC4A17144AA97\\\",\\\"trxid\\\":\\\"19060000001327\\\",\\\"trxstatus\\\":\\\"0000\\\"}\",\"terminalMerId\":\"M201002-009\",\"terminalMerName\":\"燕小七\",\"agmentId\":\"A301001\",\"remark\":null},\"merchantInfo\":{\"merId\":\"M201002\",\"merchantName\":\"testLin\",\"merchantShortName\":\"l\",\"type\":0,\"parentId\":\"A301001\",\"secretKey\":\"5Y1837F5\",\"identityType\":1,\"identityNum\":\"4111\",\"identityUrl\":\"M201002/20190627184200509.png\",\"phone\":\"41111\",\"phoneStatus\":null,\"email\":\"11112@11\",\"emailStatus\":null,\"qq\":\"1111\",\"status\":0,\"agreementStarttime\":1561564800000,\"agreementEndtime\":1562428800000,\"createTime\":1561632133000,\"loginName\":null,\"password\":null},\"transAudit\":{\"id\":\"1906272033560130002\",\"transId\":\"1906272033560130002\",\"merId\":\"M201002\",\"merOrderId\":\"2019062719300007\",\"currency\":\"CNY\",\"amount\":10,\"status\":2,\"applicationTime\":null,\"applicant\":null,\"transferTime\":null,\"transferer\":null,\"trade\":\"{\\\"channelInfo\\\":{\\\"channelId\\\":\\\"CH101002\\\",\\\"organizationId\\\":\\\"ORG1001\\\",\\\"channelName\\\":\\\"通联代付2\\\",\\\"channelLevel\\\":1,\\\"type\\\":4,\\\"channelTransCode\\\":\\\"2\\\",\\\"payUrl\\\":\\\"http://boc.zrtcnet.com/cross/allinPay/payMoney\\\",\\\"others\\\":\\\"{\\\\n  \\\\\\\"appid\\\\\\\": \\\\\\\"6666678\\\\\\\",\\\\n  \\\\\\\"key\\\\\\\": \\\\\\\"549935538f05ceaef400cbdb2dda4ebf\\\\\\\",\\\\n  \\\\\\\"cusid\\\\\\\": \\\\\\\"101000003650\\\\\\\",\\\\n  \\\\\\\"orgid\\\\\\\": \\\\\\\"201000003530\\\\\\\",\\\\n  \\\\\\\"payApplyUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/qpay/applypay\\\\\\\",\\\\n  \\\\\\\"payConfirmUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/qpay/confirmpay\\\\\\\",\\\\n  \\\\\\\"oneTransUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/acct/pay\\\\\\\",\\\\n  \\\\\\\"notifyurl\\\\\\\": \\\\\\\"www.baidu.com\\\\\\\",\\\\\\\"trxcode\\\\\\\":\\\\\\\"QUICKPAY_OF_HP\\\\\\\"\\\\n}\\\",\\\"channelSingleFee\\\":1.00,\\\"channelRateFee\\\":0.00,\\\"settleCycle\\\":\\\"1\\\",\\\"singleMinAmount\\\":1.00,\\\"singleMaxAmount\\\":6000.00,\\\"dayQuotaAmount\\\":10000.00,\\\"monthQuotaAmount\\\":500000.00,\\\"status\\\":0,\\\"createTime\\\":1561564800000},\\\"payOrderChannel\\\":{\\\"channelId\\\":\\\"CH101001\\\",\\\"organizationId\\\":\\\"ORG1001\\\",\\\"channelName\\\":\\\"通联快捷支付1\\\",\\\"channelLevel\\\":1,\\\"type\\\":5,\\\"channelTransCode\\\":\\\"1\\\",\\\"payUrl\\\":\\\"http://boc.zrtcnet.com/cross/allinPay/pay\\\",\\\"others\\\":\\\"{ \\\\\\\"appid\\\\\\\": \\\\\\\"6666678\\\\\\\",\\\\n  \\\\\\\"key\\\\\\\": \\\\\\\"549935538f05ceaef400cbdb2dda4ebf\\\\\\\",\\\\n  \\\\\\\"orgid\\\\\\\": \\\\\\\"201000003530\\\\\\\",\\\\n  \\\\\\\"cusid\\\\\\\": \\\\\\\"101000003671\\\\\\\",\\\\n  \\\\\\\"payApplyUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/qpay/applypay\\\\\\\",\\\\n  \\\\\\\"payConfirmUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/qpay/confirmpay\\\\\\\",\\\\n  \\\\\\\"oneTransUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/acct/pay\\\\\\\",\\\\n  \\\\\\\"paySms\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/qpay/paysms\\\\\\\",\\\\n    \\\\\\\"notifyurl\\\\\\\": \\\\\\\"www.baidu.com\\\\\\\",\\\\\\\"trxcode\\\\\\\":\\\\\\\"QUICKPAY_OF_HP\\\\\\\"}\\\",\\\"channelSingleFee\\\":0.00,\\\"channelRateFee\\\":2.00,\\\"settleCycle\\\":\\\"1\\\",\\\"singleMinAmount\\\":1.00,\\\"singleMaxAmount\\\":5000.00,\\\"dayQuotaAmount\\\":50000.00,\\\"monthQuotaAmount\\\":10000000.00,\\\"outChannelId\\\":\\\"CH101002\\\",\\\"status\\\":0,\\\"createTime\\\":1561564800000},\\\"transOrder\\\":{\\\"transId\\\":\\\"1906272033560130002\\\",\\\"merId\\\":\\\"M201002\\\",\\\"merOrderId\\\":\\\"2019062719300007\\\",\\\"organizationId\\\":\\\"CH101002\\\",\\\"channelId\\\":\\\"CH101002\\\",\\\"payType\\\":\\\"4\\\",\\\"channelTransCode\\\":\\\"2\\\",\\\"currency\\\":\\\"CNY\\\",\\\"amount\\\":10,\\\"realAmount\\\":2.00,\\\"terminalFee\\\":8.00,\\\"fee\\\":2.000,\\\"channelFee\\\":1.000,\\\"agentFee\\\":0.20,\\\"income\\\":1.000,\\\"orderStatus\\\":2,\\\"settleStatus\\\":0,\\\"tradeTime\\\":1561638836286,\\\"terminalMerId\\\":\\\"M201002-009\\\",\\\"terminalMerName\\\":\\\"燕小七\\\",\\\"agmentId\\\":\\\"A301001\\\"},\\\"payOrder\\\":{\\\"payId\\\":\\\"1906271944160130007\\\",\\\"merId\\\":\\\"M201002\\\",\\\"merOrderId\\\":\\\"20190628099900001\\\",\\\"organizationId\\\":\\\"ORG1001\\\",\\\"channelId\\\":\\\"CH101001\\\",\\\"payType\\\":\\\"5\\\",\\\"channelTransCode\\\":\\\"1\\\",\\\"currency\\\":\\\"CNY\\\",\\\"amount\\\":50.00,\\\"realAmount\\\":50.00,\\\"terminalFee\\\":5.00,\\\"fee\\\":2.50,\\\"channelFee\\\":1.00,\\\"agentFee\\\":0.50,\\\"income\\\":1.50,\\\"orderStatus\\\":0,\\\"settleStatus\\\":0,\\\"tradeTime\\\":1561635857000,\\\"bankTime\\\":1561635871000,\\\"orgOrderId\\\":\\\"19060000001327\\\",\\\"tradeResult\\\":\\\"{\\\\\\\"appid\\\\\\\":\\\\\\\"6666678\\\\\\\",\\\\\\\"fintime\\\\\\\":\\\\\\\"20190627194431\\\\\\\",\\\\\\\"retcode\\\\\\\":\\\\\\\"SUCCESS\\\\\\\",\\\\\\\"retmsg\\\\\\\":\\\\\\\"处理成功\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"2413C2EB4BEF1BE78C8AC4A17144AA97\\\\\\\",\\\\\\\"trxid\\\\\\\":\\\\\\\"19060000001327\\\\\\\",\\\\\\\"trxstatus\\\\\\\":\\\\\\\"0000\\\\\\\"}\\\",\\\"terminalMerId\\\":\\\"M201002-009\\\",\\\"terminalMerName\\\":\\\"燕小七\\\",\\\"agmentId\\\":\\\"A301001\\\"},\\\"merchantInfo\\\":{\\\"merId\\\":\\\"M201002\\\",\\\"merchantName\\\":\\\"testLin\\\",\\\"merchantShortName\\\":\\\"l\\\",\\\"type\\\":0,\\\"parentId\\\":\\\"A301001\\\",\\\"secretKey\\\":\\\"5Y1837F5\\\",\\\"identityType\\\":1,\\\"identityNum\\\":\\\"4111\\\",\\\"identityUrl\\\":\\\"M201002/20190627184200509.png\\\",\\\"phone\\\":\\\"41111\\\",\\\"email\\\":\\\"11112@11\\\",\\\"qq\\\":\\\"1111\\\",\\\"status\\\":0,\\\"agreementStarttime\\\":1561564800000,\\\"agreementEndtime\\\":1562428800000,\\\"createTime\\\":1561632133000},\\\"tradeObjectSquare\\\":{\\\"bizType\\\":\\\"5\\\",\\\"charset\\\":\\\"utf-8\\\",\\\"signType\\\":\\\"MD5\\\",\\\"merId\\\":\\\"M201002\\\",\\\"merOrderId\\\":\\\"2019062719300007\\\",\\\"amount\\\":10,\\\"bankCardNum\\\":\\\"6227001935600388046\\\",\\\"bankCardType\\\":0,\\\"identityType\\\":1,\\\"identityNum\\\":\\\"510522199906062031\\\",\\\"returnUrl\\\":\\\"http://...\\\",\\\"noticeUrl\\\":\\\"http://...\\\",\\\"signMsg\\\":\\\"98A9A4EAF2E56690A31B58E085E9F959\\\",\\\"currency\\\":\\\"CNY\\\",\\\"bankCardPhone\\\":\\\"13195635647\\\",\\\"bankCode\\\":\\\"123\\\",\\\"backFee\\\":8.00,\\\"terminalMerId\\\":\\\"M201002-009\\\",\\\"terminalMerName\\\":\\\"燕小七\\\",\\\"originalMerOrderId\\\":\\\"20190628099900001\\\"},\\\"extraChannelInfo\\\":{\\\"id\\\":\\\"1906270301280260002\\\",\\\"extraChannelId\\\":\\\"EX1002\\\",\\\"extraChannelName\\\":\\\"通联绑卡\\\",\\\"type\\\":\\\"1\\\",\\\"url\\\":\\\"http://boc.zrtcnet.com/cross/merchantBindCard/bindCard\\\",\\\"data\\\":\\\"{   \\\\\\\"cardApply\\\\\\\": \\\\\\\"bondCard\\\\\\\",   \\\\\\\"cardConfirm\\\\\\\": \\\\\\\"confirmBond\\\\\\\",   \\\\\\\"key\\\\\\\": \\\\\\\"549935538f05ceaef400cbdb2dda4ebf\\\\\\\",   \\\\\\\"orgid\\\\\\\": \\\\\\\"201000003530\\\\\\\",   \\\\\\\"appid\\\\\\\": \\\\\\\"6666678\\\\\\\",   \\\\\\\"cardApplyUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/org/bindcard\\\\\\\",   \\\\\\\"cardSmsUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/org/resendbindsms\\\\\\\",   \\\\\\\"cardConfirmUrl\\\\\\\": \\\\\\\"https://test.allinpaygd.com/ipayapiweb/org/bindcardconfirm\\\\\\\" }\\\",\\\"crateTime\\\":1561575689000,\\\"operator\\\":\\\"linjing\\\",\\\"organizationId\\\":\\\"ORG1001\\\"},\\\"merchantCard\\\":{\\\"id\\\":\\\"1906271933380130002\\\",\\\"merId\\\":\\\"M201002\\\",\\\"merOrderId\\\":\\\"2019062719300001\\\",\\\"terminalMerId\\\":\\\"M201002-009\\\",\\\"terminalMerName\\\":\\\"燕小七\\\",\\\"name\\\":\\\"燕小七\\\",\\\"identityNum\\\":\\\"510522199906062031\\\",\\\"phone\\\":\\\"13195635647\\\",\\\"cardType\\\":\\\"0\\\",\\\"cardNum\\\":\\\"6227001935600388046\\\",\\\"cvv\\\":\\\"123\\\",\\\"expireDate\\\":\\\"202011\\\",\\\"extraChannelId\\\":\\\"EX1002\\\",\\\"payType\\\":1,\\\"backAcountPhone\\\":\\\"13195635647\\\",\\\"backData\\\":\\\"{\\\\\\\"agreeid\\\\\\\":\\\\\\\"201906271933503625\\\\\\\",\\\\\\\"appid\\\\\\\":\\\\\\\"6666678\\\\\\\",\\\\\\\"retcode\\\\\\\":\\\\\\\"SUCCESS\\\\\\\",\\\\\\\"retmsg\\\\\\\":\\\\\\\"处理成功\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"3BDEBE891A9A3097120F0C967215FA20\\\\\\\",\\\\\\\"trxstatus\\\\\\\":\\\\\\\"0000\\\\\\\"}\\\",\\\"result\\\":\\\"201906271933503625\\\",\\\"status\\\":0,\\\"time\\\":1561635218000},\\\"merchantRegisterCollect\\\":{\\\"id\\\":\\\"MRC1906271932560130003\\\",\\\"merId\\\":\\\"M201002\\\",\\\"merOrderId\\\":\\\"2019062719300001\\\",\\\"terminalMerId\\\":\\\"M201002-009\\\",\\\"terminalMerName\\\":\\\"燕小七\\\",\\\"cardType\\\":\\\"0\\\",\\\"bankCode\\\":\\\"123\\\",\\\"cardNum\\\":\\\"6227001935600388046\\\",\\\"settleCardNum\\\":\\\"6227001935600388046\\\",\\\"extraChannelId\\\":\\\"EX1001\\\",\\\"backData\\\":\\\"{\\\\\\\"appid\\\\\\\":\\\\\\\"6666678\\\\\\\",\\\\\\\"cusid\\\\\\\":\\\\\\\"101000003743\\\\\\\",\\\\\\\"outcusid\\\\\\\":\\\\\\\"2019062719300001\\\\\\\",\\\\\\\"retcode\\\\\\\":\\\\\\\"SUCCESS\\\\\\\",\\\\\\\"retmsg\\\\\\\":\\\\\\\"处理成功\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"0539A017AFE38AE4BA12CC0409761A53\\\\\\\"}\\\",\\\"result\\\":\\\"{\\\\\\\"status\\\\\\\":0,\\\\\\\"orderId\\\\\\\":null,\\\\\\\"merchantOrderId\\\\\\\":null,\\\\\\\"bankOrderId\\\\\\\":null,\\\\\\\"orderChangeId\\\\\\\":null,\\\\\\\"bankRefundId\\\\\\\":null,\\\\\\\"bankTime\\\\\\\":null,\\\\\\\"bankResult\\\\\\\":\\\\\\\"进件成功\\\\\\\",\\\\\\\"bankCode\\\\\\\":null,\\\\\\\"param\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"appid\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"6666678\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"cusid\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"101000003743\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"outcusid\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"2019062719300001\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"retcode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"SUCCESS\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"retmsg\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"处理成功\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"sign\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"0539A017AFE38AE4BA12CC0409761A53\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"systemRef\\\\\\\":null,\\\\\\\"bankData\\\\\\\":null,\\\\\\\"result\\\\\\\":null,\\\\\\\"trade\\\\\\\":null}\\\",\\\"status\\\":0,\\\"time\\\":1561635177000,\\\"bankCardPhone\\\":\\\"13195635647\\\",\\\"cardProp\\\":\\\"0\\\"},\\\"merOrderId\\\":\\\"2019062719300007\\\"}\"},\"merchName\":null,\"bankCode\":null,\"bankYxq\":null,\"bankCvv\":null,\"financeDrawing\":null,\"tradeObjectSquare\":{\"bizType\":\"5\",\"charset\":\"utf-8\",\"signType\":\"MD5\",\"userName\":null,\"smscode\":null,\"merId\":\"M201002\",\"merOrderId\":\"2019062719300007\",\"amount\":10,\"fee\":null,\"benefitName\":null,\"bankCardNum\":\"6227001935600388046\",\"bankName\":null,\"bankBranchName\":null,\"bankBranchNum\":null,\"cvv\":null,\"bankCardType\":0,\"identityType\":1,\"identityNum\":\"510522199906062031\",\"returnUrl\":\"http://...\",\"noticeUrl\":\"http://...\",\"md5Info\":null,\"signMsg\":\"98A9A4EAF2E56690A31B58E085E9F959\",\"currency\":\"CNY\",\"authCode\":null,\"productName\":null,\"cardholderName\":null,\"cardholderPhone\":null,\"bankcardNum\":null,\"bankCardPhone\":\"13195635647\",\"bankCode\":\"123\",\"validDate\":null,\"securityCode\":null,\"payFee\":null,\"backFee\":8.00,\"backCardNum\":null,\"backBankCode\":null,\"backCardPhone\":null,\"terminalMerId\":\"M201002-009\",\"terminalMerName\":\"燕小七\",\"expiryYear\":null,\"expiryMonth\":null,\"bankcardType\":null,\"smsCode\":null,\"originalMerOrderId\":\"20190628099900001\",\"innerType\":null,\"ext1\":null,\"expireYear\":null,\"expireMonth\":null},\"extraChannelInfo\":{\"id\":\"1906270301280260002\",\"extraChannelId\":\"EX1002\",\"extraChannelName\":\"通联绑卡\",\"type\":\"1\",\"url\":\"http://boc.zrtcnet.com/cross/merchantBindCard/bindCard\",\"data\":\"{   \\\"cardApply\\\": \\\"bondCard\\\",   \\\"cardConfirm\\\": \\\"confirmBond\\\",   \\\"key\\\": \\\"549935538f05ceaef400cbdb2dda4ebf\\\",   \\\"orgid\\\": \\\"201000003530\\\",   \\\"appid\\\": \\\"6666678\\\",   \\\"cardApplyUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/org/bindcard\\\",   \\\"cardSmsUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/org/resendbindsms\\\",   \\\"cardConfirmUrl\\\": \\\"https://test.allinpaygd.com/ipayapiweb/org/bindcardconfirm\\\" }\",\"crateTime\":1561575689000,\"operator\":\"linjing\",\"organizationId\":\"ORG1001\"},\"merchantCard\":{\"id\":\"1906271933380130002\",\"merId\":\"M201002\",\"merOrderId\":\"2019062719300001\",\"terminalMerId\":\"M201002-009\",\"terminalMerName\":\"燕小七\",\"tradeFee\":null,\"backFee\":null,\"name\":\"燕小七\",\"identityNum\":\"510522199906062031\",\"phone\":\"13195635647\",\"cardType\":\"0\",\"cardNum\":\"6227001935600388046\",\"bankCode\":null,\"cvv\":\"123\",\"expireDate\":\"202011\",\"extraChannelId\":\"EX1002\",\"payType\":1,\"backAcountNum\":null,\"backBankCode\":null,\"backAcountPhone\":\"13195635647\",\"backData\":\"{\\\"agreeid\\\":\\\"201906271933503625\\\",\\\"appid\\\":\\\"6666678\\\",\\\"retcode\\\":\\\"SUCCESS\\\",\\\"retmsg\\\":\\\"处理成功\\\",\\\"sign\\\":\\\"3BDEBE891A9A3097120F0C967215FA20\\\",\\\"trxstatus\\\":\\\"0000\\\"}\",\"result\":\"201906271933503625\",\"status\":0,\"time\":1561635218000},\"merchantBasicInformationRegistration\":null,\"merchantBankCardBinding\":null,\"merchantRegisterInfo\":null,\"merchantChannelHistory\":null,\"terminalMerchantsDetails\":null,\"merchantRegisterCollect\":{\"id\":\"MRC1906271932560130003\",\"merId\":\"M201002\",\"merOrderId\":\"2019062719300001\",\"terminalMerId\":\"M201002-009\",\"terminalMerName\":\"燕小七\",\"cardType\":\"0\",\"bankCode\":\"123\",\"cardNum\":\"6227001935600388046\",\"cvv\":null,\"settleCardType\":null,\"settleCardNum\":\"6227001935600388046\",\"settleBankCode\":null,\"settleBankBranchNo\":null,\"settleBankBranchName\":null,\"expireDate\":null,\"extraChannelId\":\"EX1001\",\"payType\":null,\"backData\":\"{\\\"appid\\\":\\\"6666678\\\",\\\"cusid\\\":\\\"101000003743\\\",\\\"outcusid\\\":\\\"2019062719300001\\\",\\\"retcode\\\":\\\"SUCCESS\\\",\\\"retmsg\\\":\\\"处理成功\\\",\\\"sign\\\":\\\"0539A017AFE38AE4BA12CC0409761A53\\\"}\",\"result\":\"{\\\"status\\\":0,\\\"orderId\\\":null,\\\"merchantOrderId\\\":null,\\\"bankOrderId\\\":null,\\\"orderChangeId\\\":null,\\\"bankRefundId\\\":null,\\\"bankTime\\\":null,\\\"bankResult\\\":\\\"进件成功\\\",\\\"bankCode\\\":null,\\\"param\\\":\\\"{\\\\\\\"appid\\\\\\\":\\\\\\\"6666678\\\\\\\",\\\\\\\"cusid\\\\\\\":\\\\\\\"101000003743\\\\\\\",\\\\\\\"outcusid\\\\\\\":\\\\\\\"2019062719300001\\\\\\\",\\\\\\\"retcode\\\\\\\":\\\\\\\"SUCCESS\\\\\\\",\\\\\\\"retmsg\\\\\\\":\\\\\\\"处理成功\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"0539A017AFE38AE4BA12CC0409761A53\\\\\\\"}\\\",\\\"systemRef\\\":null,\\\"bankData\\\":null,\\\"result\\\":null,\\\"trade\\\":null}\",\"status\":0,\"tradeFee\":null,\"backFee\":null,\"time\":1561635177000,\"bankCardPhone\":\"13195635647\",\"year\":null,\"month\":null,\"cardProp\":\"0\",\"settleCardProp\":null},\"payCardholderInfo\":null,\"payProductDetail\":null,\"merOrderId\":\"2019062719300007\",\"authCode\":null}}";
//
//
//        BankResult result = new BankResult();
//        result.setParam("asdasd");
//        result.setBankResult("dasdasd");
//        String s = JsonUtils.objectToJson(result);
//        System.out.println(s);
//        BankResult bankResult = JsonUtils.jsonToPojo(s, BankResult.class);
//
//        System.out.println(bankResult.toString());
//    }
//}
